/*
 * @Author: wjc
 * @Date: 2025-09-19 10:06:25
 * @LastEditors: wjc
 * @LastEditTime: 2025-10-29 14:14:04
 * @Description: 工作台路由
 */
import type { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:layout-dashboard',
      order: -1,
      title: '首页',
    },
    name: 'Dashboard',
    path: '/dashboard',
    children: [
      {
        path: '/workspace',
        name: 'workspace',
        component: () => import('#/views/dashboard/index.vue'),
        meta: { title: '工作台', icon: 'lucide:layout-dashboard' },
      },
    ],
  },
]

export default routes
